# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-uzem
pkgver=0_git20191116
pkgrel=0
_commit="fdecf52e6b7927c9d3f3bce6aa78db16d45480ef"
pkgdesc="uzebox implementation for libretro"
url="https://github.com/libretro/libretro-uzem"
arch="all"
license="MIT"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-uzem/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-uzem-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 uzem_libretro.so "$pkgdir"/usr/lib/libretro/uzem_libretro.so
}

sha512sums="c92d1792326af605931dc0bc7be3c8f2e896dd698e1cc7888724dad19d70e000473777e2d5e0b4aa4c6cb0b0d5ecd107656abfce680dd61e1ad79cd943e15b41  libretro-uzem-fdecf52e6b7927c9d3f3bce6aa78db16d45480ef.tar.gz"
